package com.superquan.selfstudybootmybatis.utils.factory.abstract_factory;

/**
 * @program: self-study-bootmybatis
 * @ClassName TotalFactoryReally
 * @description: 创建总工厂的实现类
 * @author: zwq
 **/
public class TotalFactoryReally implements TotalFactory {
    @Override
    public Fish createFish() {
        return new CrapFish();
    }

    @Override
    public Fruit createFruit() {
        return new FruitApple();
    }
}
